﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Cfg;

namespace BasicFrameworkDemo.Utility
{
    using NHibernate;
    using NHibernate.Context;
    using NHibernate.Tool.hbm2ddl;

    public class NHibernateUtility : NHibernateUtilityBase
    {
        private static  NHibernateUtility nHibernateUtilityInstance;

        private NHibernateUtility()
        {
        }

        public static NHibernateUtility GetInstance()
        {
            return nHibernateUtilityInstance ?? (nHibernateUtilityInstance = new NHibernateUtility());
        }        
    }
}
